<div class="layui-header dark-theme">
    <!-- 菜 单 顶 部 -->
    <ul class="layui-nav layui-layout-left">
        <li class="collaspe layui-nav-item">
            <img id="logo_img" class="img" src="{{env('APP_URL').'/images/logo.png'}}">
        </li>
        <li class="layui-nav-item">
            <span class="brand-title">徐汇区青少年活动中心活动管理平台</span>
        </li>
    </ul>
    <!-- 多 系 统 菜 单 -->
    <div id="control" class="layui-layout-control"></div>
    <!-- 顶 部 右 侧 菜 单 -->
    <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item">
            <a href="{{env('APP_URL').route('pc-student.layout',null,false)}}"><span class="sy-brand-info">进入我的活动</span></a>
        </li>
        <li class="layui-nav-item">
            <a href="javascript:;"><span class="sy-brand-info">{{auth('mobile')->user()->name ?? ''}}</span></a>
        </li>
        <li class="layui-nav-item"><span style="font-size: 25px">|</span></li>
        <li class="layui-nav-item"><a href="{{env('APP_URL')}}/student/logout"><i class="layui-icon layui-icon-logout" style="font-size: 25px"></i></a></li>
        <li class="layui-nav-item">
            <a href="javascript:void(0)">
                @if (auth('mobile')->user()->avatar)
                    <img id="avatar" src="{{auth('mobile')->user()->avatar}}" class="layui-nav-img" style="height: 50px;width: 50px" onerror="this.src='{{env('APP_URL').'/images/unknown-head.jpeg'}}">
                @endif
            </a>
            <!-- 功 能 菜 单 -->
        </li>
    </ul>
</div>
